PDF for WinRT
AddAttachment(String,Byte[],Rect,AttachmentIconEnum,Color) Method


Name of the attachment.
Data contained in the attachment.
Area of the page that will contain the attachment (in points measured from the top-left corner of the page).
AttachmentIconEnum value that determines the appearance of the attachment icon.
Windows.UI.Color of the attachment icon.
Adds a file attachment to the current page.
Syntax
'Declaration
 
Public Overloads Sub AddAttachment( _
   ByVal fileName As String, _
   ByVal data() As Byte, _
   ByVal rc As Rect, _
   ByVal icon As AttachmentIconEnum, _
   ByVal iconColor As Color _
) 
'Usage
 
Dim instance As C1PdfDocument
Dim fileName As String
Dim data() As Byte
Dim rc As Rect
Dim icon As AttachmentIconEnum
Dim iconColor As Color
 
instance.AddAttachment(fileName, data, rc, icon, iconColor)
public void AddAttachment( 
   string fileName,
   byte[] data,
   Rect rc,
   AttachmentIconEnum icon,
   Color iconColor
)

Parameters

fileName
Name of the attachment.
data
Data contained in the attachment.
rc
Area of the page that will contain the attachment (in points measured from the top-left corner of the page).
icon
AttachmentIconEnum value that determines the appearance of the attachment icon.
iconColor
Windows.UI.Color of the attachment icon.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback